package com.ruoyi.operation.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品信息对象 products_info
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public class ProductsInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String spmc;

    /** 说明 */
    @Excel(name = "说明")
    private String sm;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String splx;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal spdj;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal spzj;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private String spzt;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String sptp;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cjsj;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gxsj;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSpmc(String spmc) 
    {
        this.spmc = spmc;
    }

    public String getSpmc() 
    {
        return spmc;
    }

    public void setSm(String sm) 
    {
        this.sm = sm;
    }

    public String getSm() 
    {
        return sm;
    }

    public void setSplx(String splx) 
    {
        this.splx = splx;
    }

    public String getSplx() 
    {
        return splx;
    }

    public void setSpdj(BigDecimal spdj) 
    {
        this.spdj = spdj;
    }

    public BigDecimal getSpdj() 
    {
        return spdj;
    }

    public void setSpzj(BigDecimal spzj) 
    {
        this.spzj = spzj;
    }

    public BigDecimal getSpzj() 
    {
        return spzj;
    }

    public void setSpzt(String spzt) 
    {
        this.spzt = spzt;
    }

    public String getSpzt() 
    {
        return spzt;
    }

    public void setSptp(String sptp) 
    {
        this.sptp = sptp;
    }

    public String getSptp() 
    {
        return sptp;
    }

    public void setCjsj(Date cjsj) 
    {
        this.cjsj = cjsj;
    }

    public Date getCjsj() 
    {
        return cjsj;
    }

    public void setGxsj(Date gxsj) 
    {
        this.gxsj = gxsj;
    }

    public Date getGxsj() 
    {
        return gxsj;
    }

    public void setBz(String bz) 
    {
        this.bz = bz;
    }

    public String getBz() 
    {
        return bz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("spmc", getSpmc())
            .append("sm", getSm())
            .append("splx", getSplx())
            .append("spdj", getSpdj())
            .append("spzj", getSpzj())
            .append("spzt", getSpzt())
            .append("sptp", getSptp())
            .append("cjsj", getCjsj())
            .append("gxsj", getGxsj())
            .append("bz", getBz())
            .toString();
    }
}
